package com.iwat.mail.constant;

/**
 * @author 王伟强
 * @date 2024/2/20 16:06
 */
public class LogProcessorConstant {
    public static final String SOURCE_PATH = "/path/to/source/";

    /**
     * 文件大小，单位MB，超过该大小则压缩并发送邮件
     */
    public static final long FILE_SIZE = 512;
    /**
     * tomcat 家目录
     */
    public static final String TOMCAT_HOME_SYSTEM_VAR = "catalina.base";

    /**
     * 日志文件目录
     */
    public static final String LOG_PATH = "/logs/";

    /**
     * 日志文件名称
     */
    public static final String FILE_NAME = "catalina.out";

    /**
     * 换行符
     */
    public static final String LINE_BREAK = "line.separator";
    public static final String MAIL_SUBJECT = "日志文件超过指定大小";
    public static final String MAIL_CONTENT = "日志文件超过指定大小，请及时处理";
    public static final String MAIL_TO = "";
}
